﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SCADA_SANEST.Models.Line_3
{
    public static class Hsl3SignalMap
    {
        public static List<PlcSignal> GetSignals()
        {
            return new List<PlcSignal>
            {
                new PlcSignal { Name = "CB DAY LON BT_M31", Type = PlcDataType.Bool, Address = "I0.1" },
                new PlcSignal { Name = "CB DAY LON BT_M33", Type = PlcDataType.Bool, Address = "I0.2" },
                new PlcSignal { Name = "START_BT", Type = PlcDataType.Bool, Address = "I0.7" },

                new PlcSignal { Name = "STOP_BT", Type = PlcDataType.Bool, Address = "I1.0" },
                new PlcSignal { Name = "RESET BT", Type = PlcDataType.Bool, Address = "I1.1" },
                new PlcSignal { Name = "START_ROOM", Type = PlcDataType.Bool, Address = "I1.2" },
                new PlcSignal { Name = "STOP_ROOM", Type = PlcDataType.Bool, Address = "I1.3" },
                new PlcSignal { Name = "RESET QUAT", Type = PlcDataType.Bool, Address = "I1.4" },

                new PlcSignal { Name = "K_TONG", Type = PlcDataType.Bool, Address = "Q0.0" },
                new PlcSignal { Name = "DIEN TRO ROOM 1", Type = PlcDataType.Bool, Address = "Q0.1" },
                new PlcSignal { Name = "DIEN TRO ROOM 2", Type = PlcDataType.Bool, Address = "Q0.2" },
                new PlcSignal { Name = "DIEN TRO ROOM 3", Type = PlcDataType.Bool, Address = "Q0.3" },
                new PlcSignal { Name = "COI BAO", Type = PlcDataType.Bool, Address = "Q0.4" },
                new PlcSignal { Name = "DEN VANG", Type = PlcDataType.Bool, Address = "Q0.5" },
                new PlcSignal { Name = "DEN XANH", Type = PlcDataType.Bool, Address = "Q0.6" },
                new PlcSignal { Name = "DEN DO", Type = PlcDataType.Bool, Address = "Q0.7" },

                new PlcSignal { Name = "DEN RESET BT", Type = PlcDataType.Bool, Address = "Q1.0" },
                new PlcSignal { Name = "DEN RESET QUAT", Type = PlcDataType.Bool, Address = "Q1.1" },

                new PlcSignal { Name = "CB NHIET ROOM 1", Type = PlcDataType.Int, Address = "IW96" },
                new PlcSignal { Name = "CB NHIET ROOM 2", Type = PlcDataType.Int, Address = "IW98" },
                new PlcSignal { Name = "CB NHIET ROOM 3", Type = PlcDataType.Int, Address = "IW102" },

                new PlcSignal { Name = "M_ACT RPM M25", Type = PlcDataType.Real, Address = "MD40" },
                new PlcSignal { Name = "M_ACT RPM M26", Type = PlcDataType.Real, Address = "MD52" },
                new PlcSignal { Name = "M_ACT RPM M27", Type = PlcDataType.Real, Address = "MD122" },
                new PlcSignal { Name = "M_ACT RPM M28", Type = PlcDataType.Real, Address = "MD136" },
                new PlcSignal { Name = "M_ACT RPM M29", Type = PlcDataType.Real, Address = "MD150" },
                new PlcSignal { Name = "M_ACT RPM M30", Type = PlcDataType.Real, Address = "MD66" },
                new PlcSignal { Name = "M_ACT RPM M31", Type = PlcDataType.Real, Address = "MD80" },
                new PlcSignal { Name = "M_ACT RPM M32", Type = PlcDataType.Real, Address = "MD94" },
                new PlcSignal { Name = "M_ACT RPM M33", Type = PlcDataType.Real, Address = "MD108" },

                new PlcSignal { Name = "NHIET DO ROOM 1", Type = PlcDataType.Real, Address = "MD200" },
                new PlcSignal { Name = "NHIET DO ROOM 2", Type = PlcDataType.Real, Address = "MD204" },
                new PlcSignal { Name = "NHIET DO ROOM 3", Type = PlcDataType.Real, Address = "MD208" },
            };
        }
    }
}
